package com.dong.bean;

import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * description
 *
 * @author Administrator 2021/08/30 11:19
 */
public class BeanTest {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = new ClassPathXmlApplicationContext("classpath:/bean1.xml");
        //ApplicationContextAware context1 =(ApplicationContextAware) context.getBean(MyApplicationContextAware.class);

    }
}
